package com.emser.unc.client.view;

import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.PopupPanel;
import com.google.gwt.user.client.ui.Widget;

public class BusyIndicatorView extends PopupPanel {
	
	public BusyIndicatorView(String msg) {
		setAnimationEnabled(true);
		setSize("100", "20");
		
		Label lblNewLabel = new Label(msg);
		setWidget(lblNewLabel);
		lblNewLabel.setSize("100%", "100%");
		setGlassEnabled(true);
		center();
	}
	@Override
	public Widget asWidget() {
		return this;
	}


}
